package com.things8.iot.baseIot.service;

import com.things8.iot.baseIot.entity.SysUserRes;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;

import com.things8.iot.baseIot.dao.SysUserResMapper;
/**
 * @author  yzh
 * @date  2021/5/2 21:24
 * @version 1.0
 */
@Service
public class SysUserResService{

    @Resource
    private SysUserResMapper sysUserResMapper;

    
    public int deleteByPrimaryKey(Long id) {
        return sysUserResMapper.deleteByPrimaryKey(id);
    }

    
    public int insert(SysUserRes record) {
        return sysUserResMapper.insert(record);
    }

    
    public int insertSelective(SysUserRes record) {
        return sysUserResMapper.insertSelective(record);
    }

    
    public SysUserRes selectByPrimaryKey(Long id) {
        return sysUserResMapper.selectByPrimaryKey(id);
    }

    
    public int updateByPrimaryKeySelective(SysUserRes record) {
        return sysUserResMapper.updateByPrimaryKeySelective(record);
    }

    
    public int updateByPrimaryKey(SysUserRes record) {
        return sysUserResMapper.updateByPrimaryKey(record);
    }

}
